package com.zr.service.finance.Impl;

import com.zr.dao.finance.FinanceIncomeDao;
import com.zr.service.finance.FinanceIncomeService;
import com.zr.vo.finance.FinanceIncome;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FinanceIncomeServiceImpl implements FinanceIncomeService {
    @Resource
    private FinanceIncomeDao financeIncomeDao;

    /**
     * 查询贡献度排名前5的委托客户
     * @return
     * @author 张荣颜
     */
    @Override
    public List<FinanceIncome> getClientAmountSort() {
        return financeIncomeDao.getClientAmountSort();
    }
}
